//Source file: D:\\aaa\\com\\ce\\pms\\renovation\\vo\\RenovateApprovalVO.java

package com.ce.pms.renovation.vo;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 装修审批 VO
 *
 * @author 黄彦军
 *
 */
public class RenovateApprovalVO extends AbstractApprovalVO {

	/**
	 * 主键
	 */
	private Long keyword;

	/**
	 * 装修申请ID
	 */
	private Long requistionId;

	/**
	 * 验收申请ID
	 */
	private Long inspectionRequistionId;

	/**
	 * 审批人
	 */
	private String approvalMan;

	/**
	 * 审批人ID
	 */
	private Long approvalId;

	/**
	 * 审批等级
	 */
	private String approvalLevel;

	/**
	 * 审批时间，yyyy-MM-dd
	 */
	private Date approvalTime;

	/**
	 * 审批项目，key 审批项目主键,value 审批项目
	 */
	private Map<Long,ApprovalItemVO> approvalItems=new HashMap<Long, ApprovalItemVO>();

	/**
	 *审批项目显示字符串
	 */
	private String approvalItemView ;

	/**
	 * 审批结果 001-通过，002不通过
	 */
	private String result;

	/**
	 * 审批结果展示值
	 */
	private String resultView;


	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 创建人
	 */
	private Long creator;

	public RenovateApprovalVO() {

	}

	public String getApprovalMan() {
		return approvalMan;
	}

	public void setApprovalMan(String approvalMan) {
		this.approvalMan = approvalMan;
	}

	public Date getApprovalTime() {
		return approvalTime;
	}

	public void setApprovalTime(Date approvalTime) {
		this.approvalTime = approvalTime;
	}

	public Long getKeyword() {
		return keyword;
	}

	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public Long getInspectionRequistionId() {
		return inspectionRequistionId;
	}

	public void setInspectionRequistionId(Long inspectionRequistionId) {
		this.inspectionRequistionId = inspectionRequistionId;
	}

	public Map<Long, ApprovalItemVO> getApprovalItems() {
		return approvalItems;
	}

	public void addApprovalItems(ApprovalItemVO approvalItem) {
		this.approvalItems.put(approvalItem.getKeyword(), approvalItem);
	}

	public Long getApprovalId() {
		return approvalId;
	}

	public void setApprovalId(Long approvalId) {
		this.approvalId = approvalId;
	}

	public Long getRequistionId() {
		return requistionId;
	}

	public void setRequistionId(Long requistionId) {
		this.requistionId = requistionId;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public String getApprovalLevel() {
		return approvalLevel;
	}

	public void setApprovalLevel(String approvalLevel) {
		this.approvalLevel = approvalLevel;
	}


	public String getResultView() {
		return resultView;
	}

	public void setResultView(String resultView) {
		this.resultView = resultView;
	}

	public String getApprovalItemView() {
		return approvalItemView;
	}

	public void setApprovalItemView(String approvalItemView) {
		this.approvalItemView = approvalItemView;
	}

	public void setApprovalItems(Map<Long, ApprovalItemVO> approvalItems) {
		this.approvalItems = approvalItems;
	}

}
